package com.zj.authorizationserver.service;

import com.zj.authorizationserver.mbg.model.OauthClientDetails;
import com.zj.authorizationserver.mbg.model.OauthClientDetailsExample;

import java.util.List;

public interface OauthClientDetailsService {
    long countByExample(OauthClientDetailsExample oauthClientDetailsExample);

    int deleteByExample(OauthClientDetailsExample oauthClientDetailsExample);

    int deleteByPrimaryKey(String id);

    int insert(OauthClientDetails oauthClientDetails);

    int insertSelective(OauthClientDetails oauthClientDetails);

    List<OauthClientDetails> selectByExample(OauthClientDetailsExample oauthClientDetailsExample);

    OauthClientDetails selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OauthClientDetails oauthClientDetails);

    int updateByExample(OauthClientDetails oauthClientDetails, OauthClientDetailsExample oauthClientDetailsExample);

    int updateByExampleSelective(OauthClientDetails oauthClientDetails, OauthClientDetailsExample oauthClientDetailsExample);

    int updateByPrimaryKey(OauthClientDetails oauthClientDetails);
}